﻿@model IEnumerable<Bmz.Studio.Core.Portfolio>
           @{
               var Types = (List<Bmz.Studio.Core.Dictionary>)ViewBag.WorkTypeList;
           }
<!-- START PORTFOLIO -->
<section id="portfolio" class="tm-portfolio">
    <div class="container">
        <div class="row">
            <div class="col-md-12 wow bounce">
                <div class="title">
                    <h2 class="tm-portfolio-title">我们的 <strong>作品</strong></h2>
                </div>

                <!-- START ISO SECTION -->
                <div class="iso-section">
                    <ul class="filter-wrapper clearfix">
                        <li><a href="#" class="opc-main-bg selected" data-filter="*">全部</a></li>
                        @foreach (var item in Types)
                        {
                            <li><a href="#" class="opc-main-bg" data-filter=".@item.Code">@item.Name</a></li>
                        }
                    </ul>
                    <div class="iso-box-section">
                        <div class="iso-box-wrapper col4-iso-box">
                            @foreach (var item in Model)
                            {
                                <div class="iso-box @item.Type col-md-3 col-sm-3 col-xs-12">
                                    <div class="portfolio-thumb">
                                        <img src="@item.ImageUrl" class="fluid-img" alt="portfolio img">
                                        <div class="portfolio-overlay">
                                            <h3 class="portfolio-item-title">@item.Name</h3>
                                            <p>@item.Description</p>
                                        </div>
                                    </div>
                                </div>
                            }
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- END PORTFOLIO -->